/*

Color Pallete

foreground:     '#abb2bf'
background:     '#1f2227'
alt-background: '#282c34'
alt-foreground: '#1f2227'

black:   '#282c34'
red:     '#e06c75'
green:   '#98c379'
yellow:  '#e5c07b'
blue:    '#81A1C1'
magenta: '#c678dd'
cyan:    '#56b6c2'
white:   '#c8ccd4'

*/

* {
    border: 0px solid rgba(40, 44, 52, 0);
    border-radius: 2px;
    font-family: Iosevka Nerd Font, Font Awesome, Arial, sans-serif;
    font-weight: 700;
    font-size: 13px;
    min-height: 0;
    padding: 0px;
}

window#waybar {
    background-color: #1f2227;
    background: transparent;
    color: #c8ccd4;
    transition-property: background-color;
    transition-duration: 0.5s;
    border-radius: 0;
}

window > box {
    margin-left: 6.5px;
    margin-right: 6.5px;
    margin-bottom: 6.5px;
    background: #1f2227;
    color: #c8ccd4;
}

window#waybar.hidden {
    opacity: 0.2;
}

label:focus {
    background-color: #282c34;
}

@keyframes blink {
    to {
        background-color: #c8ccd4;
        color: #282c34;
    }
}

#battery,
#cpu,
#memory,
#disk,
#temperature,
#backlight,
#network,
#pulseaudio,
#workspaces,
#clock,
#tray,
#mode,
#idle_inhibitor,
#mpd {
    padding: 0 10px;
    margin: 4px 4px 4px 4px;
    color: #1f2227;
}

#custom-launch {
    margin-right: 10px;
    margin-left: 4px;
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 4px;
    margin-bottom: 4px;
    font-size: 17px;
    background-color: #81a1c1;
    color: #1f2227;
}

#workspaces button {
    padding: 5px 5px;
    background-color: transparent;
    border-radius: 4px;
    margin-left: 1px;
    color: #c8ccd4;
}

#workspaces button:hover {
    background-color: #c8ccd4;
    color: #1f2227;
}

#workspaces button.focused {
    background-color: #e06c75;
    color: #282c34;
}

#workspaces button.urgent {
    background-color: #e04753;
}

#custom-spotify {
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 4px;
    margin-bottom: 4px;
    font-size: 17px;
    font-weight: 500;
    background-color: #98c379;
    color: #1f2227;
}

#custom-xkblayout {
    color: #81a1c1;
}

#pulseaudio {
    color: #e06c75;
}

#pulseaudio.muted {
    background-color: #81a1c1;
    color: #282c34;
}

#backlight {
    color: #e5c07b;
}

#network {
    color: #81a1c1;
}

#memory {
    color: #e06c75;
}

#battery {
    color: #e5c07b;
}

#battery.charging,
#battery.plugged {
    color: #e06c75;
}

#battery.critical:not(.charging) {
    color: #e06c75;
    animation-name: blink;
    animation-duration: 0.5s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

#clock {
    color: #98c379;
}

#custom-off {
    margin-right: 4px;
    margin-left: 11px;
    padding-left: 10px;
    padding-right: 8px;
    margin-top: 4px;
    margin-bottom: 4px;
    font-size: 17px;
    background-color: #e06c75;
    color: #1f2227;
}
